baadd926bb72ae7944b48b047214e68313a3a827,src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java,AddTagsDialog,buttonAction,#number#ActionEvent#,137

Before Change


            TableModel tm = propertyTable.getModel();
            for (int i=0; i<tm.getRowCount(); i++) {
                if ((Boolean)tm.getValueAt(i, 0)) {
                    Main.main.undoRedo.add(new ChangePropertyCommand(sel, (String)tm.getValueAt(i, 1), (String)tm.getValueAt(i, 2)));
                }
            }
        }

After Change


            for (int i=0; i<tm.getRowCount(); i++) {
                if (buttonIndex==1 || (Boolean)tm.getValueAt(i, 0)) {
                    String key =(String)tm.getValueAt(i, 1);
                    Object value = tm.getValueAt(i, 2);
                    Main.main.undoRedo.add(new ChangePropertyCommand(sel,
                            key, value instanceof String ? (String) value : ""));
                }
            }
        }